$(function () {
    $("body").on("click",bodyHandler);
    $("div").on("click",divHandler1);
    $("div").on("click",divHandler2);
});

function bodyHandler(e) {
    conlog(e);
}
function divHandler1(e) {
    conlog(e);
    e.stopPropagation();
    e.stopImmediatePropagation();   //阻止所有冒泡
}
function divHandler2(e) {
    console.log(e);
};
function conlog(e){
    console.log(e);
}